home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / HyperCuber 2.0 Source / CPPoint.h < prev    next >
Encoding:
Text File  |  1994-04-27  |  733 b   |  28 lines  |  [TEXT/KAHL]

  1. //|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. //| This file contains the interface to the CPoint class.  A CPoint
  3. //| is a graphics primitive.  It is a colored point.
  4. //|________________________________________________________________________________
  5.  
  6. #pragma once
  7. #include "CPrimitive.h"
  8. #include <iostream.h>
  9.  
  10. CLASS CPane;
  11.  
  12. class CPPoint : public CPrimitive
  13.     {
  14.     
  15.   public:
  16.  
  17.     long            vertex_index;        //  The index of the vertex this point lies on
  18.     
  19.     void            IPPoint(CList *colors);
  20.     void            Dispose(void);
  21.     void            Read(void);
  22.     void            Draw(RGBColor *override_color, Point **screen_vertices,
  23.                             Rect *clip_rect, Boolean fAntialias);
  24.  
  25.     friend istream& operator>> (istream& s, CPPoint& path);
  26.  
  27.     };
  28.